#ifndef INCLUDES_ENDIANNESS_H
#define INCLUDES_ENDIANNESS_H 1

#include <sys/param.h>

#ifndef __BYTE_ORDER
#error "Byte endianess must be available in __BYTE_ORDER macro!"
#endif

#if (__BYTE_ORDER != __LITTLE_ENDIAN) && (__BYTE_ORDER != __BIG_ENDIAN)
#error "Byte endianess in __BYTE_ORDER must be either __LITTLE_ENDIAN or __BIG_ENDIAN!"
#endif

#endif
